package by.grsu.samusev.entity;

import java.io.Serializable;
import java.util.Date;

public class Request implements Serializable{

	/**
	 * 
	 */
	private static final long serialVersionUID = 6348490720930100847L;
	private Long voyageId;
	private Date date;
	private Long id;
	public Request(){
		super();
	}
	public Request(Long voyageId,Date date){
		super();
		this.setVoyageId(voyageId);
		this.setDate(date);
	}
	public Date getDate() {
		return date;
	}

	public void setDate(Date date) {
		this.date = date;
	}
	public Long getId() {
		return id;
	}
	public void setId(Long id) {
		this.id = id;
	}


	public Long getVoyageId() {
		return voyageId;
	}


	public void setVoyageId(Long voyageId) {
		this.voyageId = voyageId;
	}
}
